package project.vip.services;

import java.io.Serializable;
import java.util.List;

import kernel.web.Page;
import project.vip.po.GiftCard;
import project.vip.po.Inv;

public interface AdminGiftCardService {
	public GiftCard getById(Serializable id);
	public List<GiftCard> getGiftCardList(String fromOpenId);
	/**
	 * 
	 * @param fromOpenId
	 * @param fromPhone
	 * @return
	 */
	public List<GiftCard> getGiftCardList(String fromOpenId,String fromPhone);
    public Page pagedQuery(int pageNo, int pageSize,String fromPhone);
    public void save(GiftCard entity);

    public void update(GiftCard entity);
}
